{extend name="common:base" /}
{block name="body"}
<div class="layui-container  fly-marginTop">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md8">
      <div class="fly-panel detail-box">
        <h2>{$article.title}</h2>
        <div class="fly-detail-info">
            <span class="layui-badge layui-bg-green">标签</span>
            <span class="layui-badge">标签</span>
        </div>
        <div class="article-about">
            <a href="../user/home.html" class="fly-link">
              <cite>{$article.author}</cite>
            </a>
            <span>{$article.publish_time}</span>
            <span><i class="iconfont" title="人气">&#xe60b;</i> {$article.reading} </span>
        </div>
        <div class="detail-body">
	        {$article.content|raw}
        </div>
        <hr>
        <span>上一篇：</span>
        <span>下一篇：</span>
	    </div>
      
    </div>
    <div class="layui-col-md4">
      <div class="fly-panel fly-link">
        <h3 class="fly-panel-title">栏目索引</h3>
        <dl class="fly-panel-main">
      {volist name="category_list" id="vo"}
      <dd><a href="{:url('article/category',['cid'=>$vo.id])}">{$vo.name}</a></dd>
      {/volist}
        </dl>
      </div>
      <dl class="fly-panel fly-list-one">
        <dt class="fly-panel-title">本版热议</dt>
        {volist name="hotarticle" id="vo"}
        <dd>
          <a href="{:url('article/detail',['id'=>$vo.id])}">{$vo.title}</a>
          <span><i class="iconfont icon-pinglun1"></i> {$vo.reading}</span>
        </dd>
		{/volist}

        <!-- 无数据时 -->
        <!--
        <div class="fly-none">没有相关数据</div>
        -->
      </dl>

      <div class="fly-panel">
        <div class="fly-panel-title">
          这里可作为广告区域
        </div>
        <div class="fly-panel-main">
          <a href="" target="_blank" class="fly-zanzhu" style="background-color: #393D49;">虚席以待</a>
        </div>
      </div>
     

    </div>
  </div>
</div>

{/block}